//
//  PhotoView.h
//  XiangMuB
//
//  Created by lanou3g on 16/8/17.
//  Copyright © 2016年 lanou3g. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "PhotoModel.h"

NS_ASSUME_NONNULL_BEGIN
@interface PhotoView : UIView

@property (strong, nonatomic) UIViewController *sender;

@property (strong, nonatomic) UIButton *btnCamera;
@property (strong, nonatomic) UIView *baseView;
@property (strong, nonatomic) UICollectionView *collectionView;

@property (assign, nonatomic) NSInteger maxSelectCount;
@property (assign, nonatomic) NSInteger maxPreviewCount;




//取消
@property (strong, nonatomic) UIButton *cancelButton;
@property (strong, nonatomic) UIView *cancelLine;
//相册
@property (strong, nonatomic) UIButton *photoButton;
@property (strong, nonatomic) UIView *photoLine;
//拍照
@property (strong, nonatomic) UIButton *takephotoButton;
@property (strong, nonatomic) UIView *takephotoLine;

- (void)showWithSender:(UIViewController *)vController
               animate:(BOOL)animate
 lastSelectPhotoModels:(NSArray<PhotoModel *> *_Nullable)lastSelectPhotoModels
            completion:(void (^)(NSArray<UIImage *> *selectPhotos, NSArray<PhotoModel *> *photoModels))completion;


NS_ASSUME_NONNULL_END

@end
